package com.lenovo.manufacture;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface Service {
    @FormUrlEncoded
    @POST("search")
    Call<LampData> lamp(@Field("isLighting")int i);
    @FormUrlEncoded
    @POST("updateAcSwitch")
    Call<AirConditionerData> airconditioner(@Field("id")int id,@Field("acSwitch")int acswitch);
    @POST("Person/getAll")
    Call<PeopleData> isPeople();
    @POST("getMaterial")
    Call<SupplyData> isSupply();
    @POST("UserQuality/getAll")
    Call<ProblemData> isVehicles();
    @POST("CarType/getAll")
    Call<ProblemData1> getAllCar();
    @POST("UserCarStore/getAll")
    Call<WarehouseData> isWareHouse();
    @FormUrlEncoded
    @POST("UserFactory/getInfo")
    Call<StudentFactoryData> isFactory(@Field("id")int id);
    @POST("index/getMaterial")
    Call<MaterialData> isMaterial();
    @FormUrlEncoded
    @POST("UserLine/search")
    Call<GetSearchData> getSearch(@Field("pos") int pos);
    @FormUrlEncoded
    @POST("index/addUserMaterialStore")
    Call<GetAddData> getAdd(@Field("userLineId") int userLineId, @Field("num") int num, @Field("supplyListId") int supplyListId);
    @FormUrlEncoded
    @POST("UserPosition/search")
    Call<LinePostData> getPost(@Field("userLineId") int userLineId);
    @FormUrlEncoded
    @POST("index/addUserPosition")
    Call<PositionData> getPosition(@Field("type") int type,@Field("userLineId") int userLineId);
}
